import {expect} from 'chai'
import {describe} from 'mocha'
import * as util from '../src/util'





describe('测试 分析报告', () => {
    it('测试分析报告',  async () => {
        const report = await util.parseReportHtml("/Users/lxliuxuan/Downloads/spotbugs-4.8.5/bin/report.html")
        expect(report.lowWarnings).to.equal(28)
        expect(report.mediumWarnings).to.equal(353)
        expect(report.highWarnings).to.equal(0)
        expect(report.totalWarnings).to.equal(381)

    })


})